home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / programr / vbasic / loanapp.exe / LOANF9.FRM < prev    next >
Text File  |  1993-07-22  |  13KB  |  422 lines

  1. VERSION 2.00
  2. Begin Form Form9 
  3.    BackColor       =   &H00808080&
  4.    ClientHeight    =   4620
  5.    ClientLeft      =   405
  6.    ClientTop       =   1575
  7.    ClientWidth     =   8880
  8.    ControlBox      =   0   'False
  9.    Height          =   5025
  10.    Left            =   345
  11.    LinkMode        =   1  'Source
  12.    LinkTopic       =   "Form8"
  13.    MaxButton       =   0   'False
  14.    MinButton       =   0   'False
  15.    ScaleHeight     =   4620
  16.    ScaleWidth      =   8880
  17.    Top             =   1230
  18.    Width           =   9000
  19.    Begin CommandButton Command2 
  20.       Caption         =   "Cancel"
  21.       Height          =   300
  22.       Left            =   4995
  23.       TabIndex        =   24
  24.       Top             =   4110
  25.       Width           =   3000
  26.    End
  27.    Begin CommandButton Command1 
  28.       Caption         =   "Ok"
  29.       Height          =   315
  30.       Left            =   885
  31.       TabIndex        =   23
  32.       Top             =   4110
  33.       Width           =   3000
  34.    End
  35.    Begin PictureBox Picture7 
  36.       Height          =   900
  37.       Left            =   45
  38.       ScaleHeight     =   870
  39.       ScaleWidth      =   8730
  40.       TabIndex        =   6
  41.       Top             =   2985
  42.       Width           =   8760
  43.       Begin VBedit BEditF9 
  44.          CellHeight      =   480
  45.          CellWidth       =   360
  46.          CharSet         =   16652
  47.          CombBaseLine    =   390
  48.          CombEndHeight   =   120
  49.          CombEndMarker   =   0   'False
  50.          CombHeight      =   60
  51.          FontBold        =   -1  'True
  52.          FontItalic      =   0   'False
  53.          FontName        =   "MS Sans Serif"
  54.          FontSize        =   9.75
  55.          FontStrikethru  =   0   'False
  56.          FontUnderline   =   0   'False
  57.          Height          =   495
  58.          Index           =   7
  59.          InflateBottom   =   180
  60.          InflateLeft     =   180
  61.          InflateRight    =   180
  62.          InflateTop      =   240
  63.          Left            =   2490
  64.          TabIndex        =   22
  65.          Top             =   330
  66.          Version         =   268435458
  67.          Width           =   6195
  68.       End
  69.       Begin VBedit BEditF9 
  70.          CellHeight      =   480
  71.          CellWidth       =   360
  72.          CharSet         =   16652
  73.          CombBaseLine    =   390
  74.          CombEndHeight   =   120
  75.          CombEndMarker   =   0   'False
  76.          CombHeight      =   60
  77.          FontBold        =   -1  'True
  78.          FontItalic      =   0   'False
  79.          FontName        =   "MS Sans Serif"
  80.          FontSize        =   9.75
  81.          FontStrikethru  =   0   'False
  82.          FontUnderline   =   0   'False
  83.          Height          =   495
  84.          Index           =   6
  85.          InflateBottom   =   180
  86.          InflateLeft     =   180
  87.          InflateRight    =   180
  88.          InflateTop      =   240
  89.          Left            =   810
  90.          TabIndex        =   21
  91.          Top             =   330
  92.          Version         =   268435458
  93.          Width           =   960
  94.       End
  95.       Begin Label Label10 
  96.          Caption         =   "Ages:"
  97.          Height          =   240
  98.          Left            =   1920
  99.          TabIndex        =   15
  100.          Top             =   525
  101.          Width           =   555
  102.       End
  103.       Begin Label Label9 
  104.          Caption         =   "Number:"
  105.          Height          =   225
  106.          Left            =   45
  107.          TabIndex        =   14
  108.          Top             =   525
  109.          Width           =   750
  110.       End
  111.       Begin Label Label7 
  112.          Caption         =   "Dependents (not listed by Borrower):"
  113.          Height          =   225
  114.          Left            =   45
  115.          TabIndex        =   13
  116.          Top             =   45
  117.          Width           =   3165
  118.       End
  119.    End
  120.    Begin PictureBox Picture6 
  121.       Height          =   900
  122.       Left            =   5760
  123.       ScaleHeight     =   870
  124.       ScaleWidth      =   3030
  125.       TabIndex        =   5
  126.       Top             =   2010
  127.       Width           =   3060
  128.       Begin CheckBox Check1 
  129.          Caption         =   "Separated"
  130.          Height          =   225
  131.          Index           =   3
  132.          Left            =   1560
  133.          TabIndex        =   27
  134.          Top             =   585
  135.          Width           =   1185
  136.       End
  137.       Begin CheckBox Check1 
  138.          Caption         =   "Married"
  139.          Height          =   225
  140.          Index           =   2
  141.          Left            =   1560
  142.          TabIndex        =   26
  143.          Top             =   315
  144.          Width           =   990
  145.       End
  146.       Begin CheckBox Check1 
  147.          Caption         =   "Single"
  148.          Height          =   225
  149.          Index           =   1
  150.          Left            =   1560
  151.          TabIndex        =   25
  152.          Top             =   45
  153.          Width           =   900
  154.       End
  155.       Begin Label Label6 
  156.          Caption         =   "Marital Status:"
  157.          Height          =   210
  158.          Left            =   135
  159.          TabIndex        =   12
  160.          Top             =   330
  161.          Width           =   1305
  162.       End
  163.    End
  164.    Begin PictureBox Picture3 
  165.       Height          =   900
  166.       Left            =   45
  167.       ScaleHeight     =   870
  168.       ScaleWidth      =   5370
  169.       TabIndex        =   2
  170.       Top             =   2010
  171.       Width           =   5400
  172.       Begin VBedit BEditF9 
  173.          CellHeight      =   480
  174.          CellWidth       =   360
  175.          CharSet         =   16652
  176.          CombBaseLine    =   390
  177.          CombEndHeight   =   120
  178.          CombEndMarker   =   0   'False
  179.          CombHeight      =   60
  180.          FontBold        =   -1  'True
  181.          FontItalic      =   0   'False
  182.          FontName        =   "MS Sans Serif"
  183.          FontSize        =   9.75
  184.          FontStrikethru  =   0   'False
  185.          FontUnderline   =   0   'False
  186.          Height          =   495
  187.          Index           =   3
  188.          InflateBottom   =   180
  189.          InflateLeft     =   180
  190.          InflateRight    =   180
  191.          InflateTop      =   240
  192.          Left            =   75
  193.          TabIndex        =   18
  194.          Top             =   330
  195.          Version         =   268435458
  196.          Width           =   5280
  197.       End
  198.       Begin Label Label3 
  199.          Caption         =   "Home Phone Number (area code):"
  200.          Height          =   225
  201.          Left            =   45
  202.          TabIndex        =   9
  203.          Top             =   45
  204.          Width           =   2940
  205.       End
  206.    End
  207.    Begin PictureBox Picture5 
  208.       Height          =   900
  209.       Left            =   6945
  210.       ScaleHeight     =   870
  211.       ScaleWidth      =   1830
  212.       TabIndex        =   4
  213.       Top             =   1035
  214.       Width           =   1860
  215.       Begin VBedit BEditF9 
  216.          CellHeight      =   480
  217.          CellWidth       =   360
  218.          CharSet         =   16652
  219.          CombBaseLine    =   390
  220.          CombEndHeight   =   120
  221.          CombEndMarker   =   0   'False
  222.          CombHeight      =   60
  223.          FontBold        =   -1  'True
  224.          FontItalic      =   0   'False
  225.          FontName        =   "MS Sans Serif"
  226.          FontSize        =   9.75
  227.          FontStrikethru  =   0   'False
  228.          FontUnderline   =   0   'False
  229.          Height          =   495
  230.          Index           =   5
  231.          InflateBottom   =   180
  232.          InflateLeft     =   180
  233.          InflateRight    =   180
  234.          InflateTop      =   240
  235.          Left            =   420
  236.          TabIndex        =   20
  237.          Top             =   330
  238.          Version         =   268435458
  239.          Width           =   975
  240.       End
  241.       Begin Label Label5 
  242.          Alignment       =   2  'Center
  243.          Caption         =   "Years in School:"
  244.          Height          =   225
  245.          Left            =   45
  246.          TabIndex        =   11
  247.          Top             =   45
  248.          Width           =   1740
  249.       End
  250.    End
  251.    Begin PictureBox Picture4 
  252.       Height          =   900
  253.       Left            =   4755
  254.       ScaleHeight     =   870
  255.       ScaleWidth      =   1830
  256.       TabIndex        =   3
  257.       Top             =   1035
  258.       Width           =   1860
  259.       Begin VBedit BEditF9 
  260.          CellHeight      =   480
  261.          CellWidth       =   360
  262.          CharSet         =   16652
  263.          CombBaseLine    =   390
  264.          CombEndHeight   =   120
  265.          CombEndMarker   =   0   'False
  266.          CombHeight      =   60
  267.          FontBold        =   -1  'True
  268.          FontItalic      =   0   'False
  269.          FontName        =   "MS Sans Serif"
  270.          FontSize        =   9.75
  271.          FontStrikethru  =   0   'False
  272.          FontUnderline   =   0   'False
  273.          Height          =   510
  274.          Index           =   4
  275.          InflateBottom   =   180
  276.          InflateLeft     =   180
  277.          InflateRight    =   180
  278.          InflateTop      =   240
  279.          Left            =   210
  280.          TabIndex        =   19
  281.          Top             =   315
  282.          Version         =   268435458
  283.          Width           =   1425
  284.       End
  285.       Begin Label Label4 
  286.          Alignment       =   2  'Center
  287.          Caption         =   "Co-Borrower's Age:"
  288.          Height          =   210
  289.          Left            =   45
  290.          TabIndex        =   10
  291.          Top             =   45
  292.          Width           =   1740
  293.       End
  294.    End
  295.    Begin PictureBox Picture2 
  296.       Height          =   900
  297.       Left            =   45
  298.       ScaleHeight     =   870
  299.       ScaleWidth      =   4380
  300.       TabIndex        =   1
  301.       Top             =   1035
  302.       Width           =   4410
  303.       Begin VBedit BEditF9 
  304.          CellHeight      =   480
  305.          CellWidth       =   360
  306.          CharSet         =   16652
  307.          CombBaseLine    =   390
  308.          CombEndHeight   =   120
  309.          CombEndMarker   =   0   'False
  310.          CombHeight      =   60
  311.          FontBold        =   -1  'True
  312.          FontItalic      =   0   'False
  313.          FontName        =   "MS Sans Serif"
  314.          FontSize        =   9.75
  315.          FontStrikethru  =   0   'False
  316.          FontUnderline   =   0   'False
  317.          Height          =   495
  318.          Index           =   2
  319.          InflateBottom   =   180
  320.          InflateLeft     =   180
  321.          InflateRight    =   180
  322.          InflateTop      =   240
  323.          Left            =   45
  324.          TabIndex        =   17
  325.          Top             =   330
  326.          Version         =   268435458
  327.          Width           =   4290
  328.       End
  329.       Begin Label Label2 
  330.          Caption         =   "Social Security Number:"
  331.          Height          =   225
  332.          Left            =   45
  333.          TabIndex        =   8
  334.          Top             =   45
  335.          Width           =   2115
  336.       End
  337.    End
  338.    Begin PictureBox Picture1 
  339.       Height          =   900
  340.       Left            =   45
  341.       ScaleHeight     =   870
  342.       ScaleWidth      =   8760
  343.       TabIndex        =   0
  344.       Top             =   60
  345.       Width           =   8790
  346.       Begin VBedit BEditF9 
  347.          CellHeight      =   480
  348.          CellWidth       =   360
  349.          CharSet         =   16651
  350.          CombBaseLine    =   390
  351.          CombEndHeight   =   120
  352.          CombEndMarker   =   0   'False
  353.          CombHeight      =   60
  354.          FontBold        =   -1  'True
  355.          FontItalic      =   0   'False
  356.          FontName        =   "MS Sans Serif"
  357.          FontSize        =   9.75
  358.          FontStrikethru  =   0   'False
  359.          FontUnderline   =   0   'False
  360.          Height          =   495
  361.          Index           =   1
  362.          InflateBottom   =   180
  363.          InflateLeft     =   180
  364.          InflateRight    =   180
  365.          InflateTop      =   240
  366.          Left            =   45
  367.          TabIndex        =   16
  368.          Top             =   330
  369.          Version         =   268435458
  370.          Width           =   8670
  371.       End
  372.       Begin Label Label1 
  373.          Caption         =   "Co-Borrower's Name (include Jr. or Sr. if applicable):"
  374.          Height          =   225
  375.          Left            =   45
  376.          TabIndex        =   7
  377.          Top             =   45
  378.          Width           =   4515
  379.       End
  380.    End
  381. End
  382.  
  383. Sub Check1_Click (Index As Integer)
  384.     If Form9.Visible = True Then
  385.         If Form9.Check1(Index).Value = 1 Then
  386.             For i = 1 To 3
  387.                 If i <> Index Then
  388.                     Form9.Check1(i).Value = 0
  389.                 End If
  390.             Next i
  391.         End If
  392.     End If
  393. End Sub
  394.  
  395. Sub Command1_Click ()
  396.     MainRec.H.H1 = Form9.BEditF9(1).Text
  397.     MainRec.H.H2 = Form9.BEditF9(2).Text
  398.     MainRec.H.H3 = Form9.BEditF9(3).Text
  399.     MainRec.H.H4 = Form9.BEditF9(4).Text
  400.     MainRec.H.H5 = Form9.BEditF9(5).Text
  401.     MainRec.H.H6 = Form9.BEditF9(6).Text
  402.     MainRec.H.H7 = Form9.BEditF9(7).Text
  403.     For i = 1 To 3
  404.         If Form9.Check1(i).Value = 1 Then
  405.             MainRec.H.HC1 = i
  406.             MainRec.H.H8 = Form9.Check1(i).Caption
  407.             Exit For
  408.         Else
  409.             MainRec.H.HC1 = 0
  410.             MainRec.H.H8 = ""
  411.         End If
  412.     Next i
  413.     UpdateLabelH
  414.     Form9.Hide
  415. End Sub
  416.  
  417. Sub Form_Load ()
  418.     Form9.Left = 300
  419.     Form9.Top = (Screen.Height - Form9.Height) / 2
  420. End Sub
  421.  
  422.